<!--{template header}--><!--step1 会出现在弹窗里，交稿--> 
{if $step==1}
<div class="winbody pad10 box {$_K['theme']}_style">
 <!-- step1 跳转 -->
 	<!-- 选择分享到哪里 -->
 	<!-- 步骤提示 -->
 	<!--step步骤 start-->
                <div class="step_progress min_step_progress clearfix">
                    <div class="step step1 selected">
                        <span class="icon32">step1</span>
                        <strong>{$_lang['first_step']}</strong>
                        	{$_lang['choose_and_login_weibo']}
                    </div>
                    <div class="step step2">
                        <span class="icon32">step2</span>
                        <strong>{$_lang['second_step']}</strong>
                        <em>{$_lang['input_info']}</em>
                    </div>
                    <div class="step step3">
                        <span class="icon32">step3</span>
                        <strong>{$_lang['third_step']}</strong>
                        <em>{$_lang['pub_and_submit']}</em>
                    </div>
                </div>
                <!--step步骤 end-->
 	<div class="selecter clearfix min_win">
		<ul>
	 		<li>
				{loop $plat $v}
					
				 		<a href="{$basic_url}?do={$do}&task_id={$task_id}&op=work_hand&platform={$v}&step=2" style="text-decoration:none;">
				 			<img src="{$_K['siteurl']}/static/img/ico/ico_48x48_{$v}.gif" alt="{$web_arr[$v]['name']}"/>
							{$web_arr[$v]['name']}
						</a>
			 	{/loop}
			</li>
		</ul>
	</div>
 {else}
 <!-- step2 content -->
 	<!-- 对应的微博账号信息 -->	
 <div class="wrapper">
	  <div class="container_24 clearfix">
	  		<div class="panel clearfix box mt_20">
			<div class="grid_16 omega pt_10 pb_20 ">
					<div class="prefix_1 suffix_1 border_r_c clearfix">
	 					<!--messages消息 start-->
					  	<div class="messages blue">
				    		<span class="icon16">warning</span>
				         	 {$_lang['single_click_pub_weibo']}{$_lang['zh_jh']}
					    </div>
	  					<!--messages消息 end-->
						
						<div class="clearfix box">
					    <!--from表单 start-->
					    <form action="{$basic_url}?do={$do}&task_id={$task_id}&op=work_hand&platform={$platform}&step=2" method="post" name="frm_tao" id="frm_tao">
					       <div class="rowElem clearfix" id="desc">
								 <h2>{$_lang['weibo_content']}</h2>
								 <div class="ws_prewrap ws_break t_i"><!--{eval echo kekezu::filter_input($task_info['task_desc'])}--></div>
					      </div>
				 		{if $task_info['is_at']==1}
					 		<div class="mb_10 clearfix" id='at_t'>
					 			@{$_lang['the_following_few_friends']}(<span>{$_lang['at_least']}{$task_info['at_num']}{$_lang['friends']}</span>){$_lang['zh_mh']}
					 			{loop $weibo_arr['user_fans'] $value}
					 				<ul class="ml_20">
					 					<li class="fl_l mr_10" style="width:120px;">
											<input type='checkbox' name='at[]' value="{$value['name']}">{$value['name']}
					 					</li>
					 				</ul>
									
					 			{/loop}
					 		</div>
				 		{/if}
						  {if $task_info['wb_img']}
					       <div class="rowElem clearfix" id="desc">
					       		<label class="fl_l t_r">{$_lang['picture']}</label>
								<div class="clear"></div>
								 <div class="fl_l pad10 ml_20 img_box">
									<img src="{$task_info['wb_img']}"  alt=''>
								 </div>
					      </div>
						  {/if}
					      <div class="rowElem clearfix form_button">
					      	<input type='hidden' name='sbt' value='1'>
					       	<button type="button" class="big button fl_r" value="{$_lang['release']}" onclick="handT();"><span class="icon check"></span>{$_lang['release']}</button>
					 	 </div>
					   </form>
					  <!--from表单 end-->
					  </div>
	                </div>
	            </div>
				
				<div class="grid_8 alpha omega pt_10 ">
				<div class="clearfix  pad10 f2f2 bord_c ml_20 t_c">
					<a href="{$weibo_arr['user_info']['url']}"  class="fl_l mr_10">
						<img class="pic_small" src="{$weibo_arr['user_info']['img']}" />
					</a>
					<!-- 头像 -->
					<h2 class="fl_l">
						<a href="{$weibo_arr['user_info']['url']}"><span>{$_lang['nickname']}{$_lang['zh_mh']}</span>{$weibo_arr['user_info']['name']}</a>
					</h2>
					<div><a href="{$basic_url}?do=task&id={$task_id}&platform={$platform}&op=work_hand&step=2&relog=relog">{$_lang['switch_user_login']}</a></div>
				</div>	
			</div>
		</div>
	  </div>
 </div>
{/if}
<script type="text/javascript">
	function handT(){
		var nAt = "{$task_info['is_at']}";
		var pass = true;
			if(nAt==1){
				var atNum = "{$task_info['at_num']}";
				var slNum = $(":checkbox[name='at[]']:checked").length;
					if(slNum<atNum){
						tipsAppend('at_t',"{$_lang['you_at_least']}@"+atNum+"{$_lang['ren']}。",'warning','m_warn');
						pass=false;
					}
			}
			if(pass==true){
				$('#frm_tao').submit();
			}
	}
	
</script>
<!--{template footer}-->